//
//  SearchTableViewController.h
//  CarTown
//
//  Created by xionghao on 15/8/11.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//
#import <UIKit/UIKit.h>

typedef enum {
    PUSHTYPECar,
    PUSHTYPEZT,
    PUSHTYPEShop,
    PUSHTYPEQG,
    PUSHTYPEZTCAR
}PUSHTYPE;

@class History;
@protocol SearchTableViewDelegate <NSObject>

-(void)searchCilck:(PUSHTYPE)type WithString:(NSString *)string;
-(void)searchDidCancelClick;
@end

@interface SearchTableViewController : UIViewController
+(instancetype)viewController;
@property (nonatomic,assign) BOOL ishideotherSearch;
@property (nonatomic,assign) BOOL isFromQG;
@property (nonatomic,assign) BOOL isFromZT;
@property (nonatomic,assign) BOOL isFromSearchZT;
@property (nonatomic,weak) id<SearchTableViewDelegate> delegate;
@property (nonatomic,strong) NSMutableDictionary *keywords;
@end
